package com.yuexunit.account.action.v2.model;

import com.yuexunit.web.annotation.Parameter;


/**
 * @author wangjinshui
 */
public class AccountAlias {
	@Parameter(description="帐号ID")
	private Long accountId; 
	
	@Parameter(description="帐号登录名")
	private String accountName;
	
	@Parameter(description="帐号类型：0-域帐号；1-邮箱；2-手机；3-身份证")
	private AccountNameType type;

	public Long getAccountId() {
		return accountId;
	}

	public void setAccountId(Long accountId) {
		this.accountId = accountId;
	}

	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public AccountNameType getType() {
		return type;
	}

	public void setType(AccountNameType type) {
		this.type = type;
	}
	
	@Override
	public String toString() {
		StringBuffer result = new StringBuffer();
		
		result.append(getClass().getName())
			.append(", accountId=").append(accountId)
			.append(", accountName='").append(accountName).append("'")
			.append(", type=").append(type)
			;
		
		return result.toString();
	}
}
